package com.bodu.exchange.entity.po;

import com.bodu.core.entity.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
* 记账本 PO
* @author Administrator
*/
@Data
public class ExchangeBookPo extends CommonEntity {
    @ApiModelProperty(value = "创建用户")
    private Long userId;
    @ApiModelProperty(value = "账本名称")
    private java.lang.String bookName;
    @ApiModelProperty(value = "账本描述")
    private java.lang.String bookDesc;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开始使用时间")
    private java.util.Date startTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结束使用时间")
    private java.util.Date endTime;
    @ApiModelProperty(value = "私密账本 0-否 1-是")
    private Integer privateFlag;
    @ApiModelProperty(value = "默认账本 0-否 1-是")
    private Integer defaultFlag;
}
